/**
 * Created by MADHUKAR on 1/10/2015.
 */
var sum = function sum(a,b){
     return a + b;
};

var sum = function sum(){
    var output = 0;

    //arguments its an object like an array
    //[1,2,3,4,5,6,7,8,9,10]
    for(var j = 0; j < arguments.length; j++){
        output = output +  arguments[j];
    }

    return output;
}


var sub = function sub(a,b){
    return a - b;
}
var total; // undefined
var count; // undefined
var numbers;


//hoisting
// memory blocks for them

//executing




